<template>
  <div class="about">
    <div class="page-header">
      <h2>关于我们</h2>
    </div>

    <div class="content-section">
      <div class="about-card">
        <div class="logo-section">
          <div class="logo">
            <span>EMS</span>
          </div>
          <h3>员工管理系统</h3>
          <p class="version">v1.0.0</p>
        </div>

        <div class="divider"></div>

        <div class="about-content">
          <h4>系统简介</h4>
          <p>员工管理系统是一款专为企业设计的综合人事管理平台，旨在帮助企业高效管理员工信息、任务分配及内部沟通。</p>
          
          <p>系统主要功能包括：</p>
          <ul>
            <li>员工信息管理：支持员工基本信息的增删改查</li>
            <li>任务管理：跟踪任务进度，提高工作效率</li>
            <li>公告管理：发布企业公告，确保信息透明</li>
            <li>数据分析：提供员工数据分析，辅助决策</li>
          </ul>

          <h4>技术栈</h4>
          <div class="tech-stack">
            <div class="tech-item">
              <div class="tech-icon">前端</div>
              <div class="tech-desc">Vue 3 + Element Plus</div>
            </div>
            <div class="tech-item">
              <div class="tech-icon">后端</div>
              <div class="tech-desc">Spring Boot + MyBatis Plus</div>
            </div>
            <div class="tech-item">
              <div class="tech-icon">数据库</div>
              <div class="tech-desc">MySQL</div>
            </div>
          </div>

          <h4>开发团队</h4>
          <div class="team-info">
            <div class="developer">
              <div class="avatar">YG</div>
              <div class="dev-info">
                <h5>YUMIIGUTOU</h5>
                <p>系统架构师 & 全栈开发</p>
              </div>
            </div>
          </div>

          <div class="copyright">
            <p>© 2024 员工管理系统. 保留所有权利。</p>
            <p>该系统旨在提高企业内部管理效率，创造更加透明、高效的工作环境。</p>
          </div>
        </div>
      </div>
    </div>
  </div>
</template>

<style scoped>
.about {
  max-width: 1200px;
  margin: 0 auto;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.page-header h2 {
  font-size: 28px;
  font-weight: 500;
  margin: 0;
}

.content-section {
  background: white;
  border-radius: 12px;
  padding: 24px;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.about-card {
  display: flex;
  flex-direction: column;
  padding: 20px;
}

.logo-section {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}

.logo {
  width: 80px;
  height: 80px;
  border-radius: 16px;
  background: linear-gradient(135deg, #409eff, #007aff);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 16px;
  box-shadow: 0 4px 12px rgba(0, 122, 255, 0.2);
}

.logo span {
  color: white;
  font-size: 28px;
  font-weight: bold;
  letter-spacing: 1px;
}

.logo-section h3 {
  font-size: 22px;
  font-weight: 600;
  margin: 8px 0 0;
  color: #303133;
}

.version {
  color: #909399;
  font-size: 14px;
  margin: 4px 0 0;
}

.divider {
  height: 1px;
  background-color: #ebeef5;
  margin: 0 0 30px;
}

.about-content {
  line-height: 1.8;
}

.about-content h4 {
  font-size: 18px;
  font-weight: 600;
  margin: 24px 0 12px;
  color: #303133;
  position: relative;
  padding-left: 12px;
}

.about-content h4:first-child {
  margin-top: 0;
}

.about-content h4::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 4px;
  height: 16px;
  background-color: #409eff;
  border-radius: 2px;
}

.about-content p {
  margin: 12px 0;
  color: #606266;
}

.about-content ul {
  margin: 12px 0;
  padding-left: 20px;
  color: #606266;
}

.tech-stack {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin: 16px 0;
}

.tech-item {
  display: flex;
  align-items: center;
  padding: 10px 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  width: calc(33.33% - 12px);
  min-width: 200px;
}

.tech-icon {
  font-weight: 600;
  color: #409eff;
  margin-right: 12px;
  padding: 4px 8px;
  background-color: rgba(64, 158, 255, 0.1);
  border-radius: 4px;
}

.tech-desc {
  color: #606266;
}

.team-info {
  margin: 20px 0;
}

.developer {
  display: flex;
  align-items: center;
  padding: 16px;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin-bottom: 16px;
  transition: all 0.3s;
}

.developer:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.avatar {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #ff9500, #ff2d55);
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  font-size: 20px;
  margin-right: 16px;
}

.dev-info h5 {
  font-size: 18px;
  font-weight: 600;
  margin: 0 0 4px;
  color: #303133;
}

.dev-info p {
  margin: 0;
  color: #909399;
  font-size: 14px;
}

.copyright {
  margin-top: 40px;
  padding-top: 20px;
  border-top: 1px solid #ebeef5;
  text-align: center;
  color: #909399;
  font-size: 14px;
}

.copyright p {
  margin: 8px 0;
}

@media (max-width: 768px) {
  .tech-item {
    width: 100%;
  }
}
</style> 